package com.jxtti.dao;

import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Repository;

import com.jxtti.entity.ArticleList;

@Repository
public interface ArticleListDao<T> {
	
	public List<ArticleList> queryByList(Map<String, Object> data);
	
	public List<ArticleList> chartAudit(Map<String, Object> data);
	
	public List<ArticleList> chartAuditLine(Map<String, Object> data);
	
	public List<ArticleList> chartArticleCy(Map<String, Object> data);	
	
	public List<ArticleList> queryListForIndex(Map<String, Object> data);
	
	public List<ArticleList> queryPreNext(Map<String, Object> data);//查找上一篇 下一篇
	
	public ArticleList queryById(ArticleList  entity);
	
	public int add(ArticleList entity);	
	
	public int update(ArticleList entity);	
	
	public int delete(ArticleList entity);
	
	public int queryByCount(ArticleList entity);
	
	public List<ArticleList>  cteTreeArticleListByCategoryID(Map<String, Object> data);
}
